#export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.13.9-6.kb3.ky3.x86_64
export JAVA_HOME="/usr/lib/jvm/$(ls -lah /usr/lib/jvm/ |grep "java-11-openjdk-"|awk 'NR==1'|awk '{print $NF}')"
export JRE_HOME=/usr/lib/jvm/jre-11
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$PATH:$JAVA_HOME/bin
#Hadoop
export HADOOP_HOME=/opt/module/hadoop-3.3.4
export PATH=$PATH:$HADOOP_HOME/bin
export PATH=$PATH:$HADOOP_HOME/sbin
export HDFS_NAMENODE_USER=root
export HDFS_DATANODE_USER=root
export HDFS_SECONDARYNAMENODE_USER=root
export YARN_NODEMANAGER_USER=root
export YARN_RESOURCEMANAGER_USER=root
